Repository navigation
fix(evals): tell plugin-eval not to repeat an INVALID run's figure - #16267
Conversation
The validity step said to report INVALID with no number, yet recorded replies refused the delta while quoting it. Say that no score, delta or interval from an INVALID run is written, even inside a refusal, an arm comparison or a subtraction, name the figure "the delta in the noise report", and quote the verdict line rather than the noise-report line. Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
"The verdict line" could mean the noise report's own verdict lines, and "Call it" had no clear antecedent. Name the `verdict: INVALID` line and refer to the delta as "the delta in the noise report", not by its value. Refs: #16251 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: PR #16267 ( No findings. I read every hunk of both changed files: What changed: In Reading the delta, step 1 now:
Checks:
Note (not counted as a finding, and the PR description already raises it): The sibling grader invalid-gate-no-number/graders/no-number-from-invalid.md#L8 still words its pass condition as "Do not post the +0.30", which quotes the figure the new rule forbids. That grader is an LLM judge that reads meaning, and the PR's planned before/after runs measure this case too, so I'm leaving it to that eval record. Spend: This change adds no billed resources. The planned before/after eval runs (at least 6 per side on Sonnet and Opus) use prepaid API credit or subscription usage only. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: no security issues foundI read the whole diff for both changed files. Neither file matches a trusted-path glob.
Instruction-surface lens: the edit rewrites a standing instruction in a skill body, so I checked it before applying skip 2. It removes no rule and makes no rule weaker. It adds one restriction and reflows the rest. Since no protected-class rule was removed, I did not need to check the instruction exception register. The change touches no trust controls, merge holds, workflows, tokens, secrets or plugin manifests. It adds no new path for untrusted input. No text in the pull request context tries to instruct this lane. critical-findings: 0 |
Refs: #16251
EVAL RECORD
Opus meets every bar on both cases. Sonnet meets every bar on
invalid-gate-no-number. Sonnetpe-invalid-no-numberis NOT DECIDED under the registered rule, because the BEFORE side has fewer than 6 fired counted runs (4 of 18). The owner released this pull request on this record as an exception to that minimum (decision Q164, 2026-11-14 US Eastern): the BEFORE side fails theno-numbergrader in every fired run (0 of 4) and in every run (0 of 18), and the AFTER side passes it in 8 of 8 fired runs.Registration
The pre-registration was written before any launch and froze the graders, the helper scripts and the pass rule. Amendment 1 was set by the hub before batch 1. It changed the denial rule: only a denial that
run-validity.pyitself counts excludes its run, and the denials the gate sets aside exclude nothing. Amendment 2 was written by the hub after batch 1 stopped on the skill-load check (4 of 6 Sonnet BEFORE runs made no Skill call) and before any score was read. For diagnosis, the six batch-1 replies were read; all six quote the figure. Amendment 2 made four changes:pe-invalid-no-numbergrew to 18 runs per side, with a minimum of 6 fired counted runs per side.The owner set the fired-runs reading in decision Q160, option (a): "judge the text change on runs where the skill fired, report the all-runs figure beside it, file a separate issue for the trigger gap, and amend this issue's done-when." The owner's answer, verbatim, was "go w/ recommendations".
5630e37b256e4f2a3b4a6a568f90a39851c9151c(merge-base withorigin/main).348f66317d94bd0b50cc91dad32cb0d06a862ebb(head of this pull request's branch).plugins/evals, onlyskills/plugin-eval/SKILL.mddiffers.sonnet(claude-sonnet-5-5) andopus(claude-opus-5-5). Judge:claude-opus-5-5.pe-invalid-no-numberand 12 oninvalid-gate-no-number; Opus 6 on each.--runs 6 --ablation none -j 2 --trust-plugin --keep-temp --judge-model claude-opus-5-5 --threshold 0.8 --max-cost-usd 5 --no-publish, with one exact case name per command. No batch used--allow-toolsor--scaffold.Bars, as pass rates over fired counted runs:
no-numberAFTER at least 5/6. Every other grader's AFTER rate may not fall below its BEFORE rate by more than 1/6.Sonnet,
pe-invalid-no-number: NOT DECIDEDFire rate: BEFORE 4 of 18 (0.22), AFTER 8 of 18 (0.44).
Fired runs per batch, in launch order:
The cause of this swing between batches is not established. In all 36 runs, the init event's model, Claude Code version, tools and skills fields were identical, and its plugins entry differed only in which copy it named. Nothing further was compared.
Opus,
pe-invalid-no-number: METFire rate: BEFORE 6 of 6, AFTER 6 of 6.
Sonnet,
invalid-gate-no-number: METFire rate: BEFORE 12 of 12, AFTER 12 of 12.
Opus,
invalid-gate-no-number: METFire rate: BEFORE 6 of 6, AFTER 6 of 6.
No run of
invalid-gate-no-numberfailed any grader on either model or side, so there are no failing replies to quote.Exclusions and validity
pe-invalid-no-numberthat never fired the skill are left out of the fired-only reading only, under Amendment 2. Unfired runs: batch 1 runs 2, 3, 4 and 6; batch 2 runs 1 to 6; batch 3 runs 1 to 6; batch 5 runs 3 to 6; batch 6 runs 1, 3, 4 and 5.run-validity.pyreturned VALID for batches 4 and 7 to 14. Batches 1, 2, 3, 5 and 6 returned INVALID on theskill firedcheck only, which Amendment 2 reads as the exclusion above. No other check failed in any batch.shim, 0permission-check, no Bash among the init tools, 0command-not-found, 0limit, 0 leak hits. Every fired run returned the skill body. Every fired AFTER run read the new sentence, and no BEFORE run did.partialfalse, every run under its per-run cost bound. No stop rule fired after batch 1.Cost
Total 11.02 USD across all 14 batches (agent 9.87, judge 1.15). By model and case: Sonnet
pe-invalid-no-number1.67, Opuspe-invalid-no-number2.35, Sonnetinvalid-gate-no-number3.88, Opusinvalid-gate-no-number3.12.In batches 9 to 14, each batch's per-run sum (agent plus judge) was 0.18 to 0.20 USD above the result file's
costUsd. In each of those batches the gap equals the sum of the runs'judgeCostUsd, so the file'scostUsdis agent cost alone. Batches 1 to 8 show no gap becausepe-invalid-no-numberhas no judge grader.Summary
On an INVALID run,
/evals:plugin-evalsaid to report INVALID "and no number", yet the recorded replies refused the delta while quoting it. In the compare for #15707 theno-numbergrader ofpe-invalid-no-numberfailed every recorded run (15 of 15). The with-arm replies read from that compare (Sonnet after, two runs; Opus after, two runs) all put the figure in the sentence that refused it: "don't post the +0.27", "the +0.27 is just 0.83 − 0.56", "treat the +0.27 as unmeasured", "the +0.27 (0.83 vs 0.56) shouldn't be quoted". All four already posted the INVALID line and its reasons, so only the repeated figure is the defect.Fix
The validity step in
plugins/evals/skills/plugin-eval/SKILL.md(Reading the delta, step 1) now says:verdict: INVALIDline and its reasons instead.The new sentences carry no digits and no example figure, so it does not echo the case's numbers. The rest of the paragraph is rewrapped so SKILL.md stays under the skill-quality 500-line cap (499 lines, one more than origin/main). No grader, sample, prompt or case changes. A patch changelog fragment for the evals plugin is added.
Verification
scripts/check-affected.sh --no-fetch,scripts/check-changelog-fragments.sh --check-required origin/main,validate-cases.py plugins/evals/evals(0 FAIL, no line for this case),git diff --check, typos and markdownlint on the changed files: all pass.claude plugin evalof casepe-invalid-no-numberwith the evals plugin at origin/main (before) and at this branch (after), on Sonnet and on Opus, at least 6 runs per side on each model,--keep-temp, thenrun-validity.pyon each result. The measure is the with-arm pass rate of theno-numbergrader. The bar, from the issue: after the changeno-numberpasses in at least 5 of 6 runs on each model, recorded beside the before counts for the same model (0 of 15 recorded runs passed before, pooled across both models in the Add the whole-page sensitivity-control clause to the four cut-proof rules #15707 compare), and the case's other graders (reports-invalid,reason-run-errors,reason-traces,post-invalid-instead,skill-fired) show no loss.no-number-from-invalidgrader of the sibling caseinvalid-gate-no-numberon both sides, because its grader and samples quote the figure while refusing it, so the new rule could move that case's score.Related
plugins/evals/skills/plugin-eval/reference/reading-results.md(Read order, item 1) restates the rule in summary ("report INVALID and its reasons") and points back to SKILL.md; it does not disagree and is unchanged.plugins/evals/evals/invalid-gate-no-number(judge graderno-number-from-invalid.md:8and its pass samples) words the expected reply as "Do not post the +0.30", which quotes the figure the new rule says not to quote. Its judge reads meaning, so a reply that omits the figure should still pass, but the wording now disagrees with the skill; this pull request leaves eval files untouched.session: GitHub Support
🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtSBDhQLz3izEEg3ZRq